package com.sxp.bean;

import java.sql.Timestamp;

/**
 * @author 宋晓盼
 * @since 2019/6/5 10:06
 */
public class Book {

    private Integer id;
    private Timestamp createTime;
    private Timestamp updateTime;
    private String name;
    private Integer stock;
    private Double price;
    private String image;
    private Integer clickCount;

    public Book() {
    }

    public Book(String name, Integer stock, Double price, String image) {
        this.name = name;
        this.stock = stock;
        this.price = price;
        this.image = image;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getClickCount() {
        return clickCount;
    }

    public void setClickCount(Integer clickCount) {
        this.clickCount = clickCount;
    }
}
